Skip to content

gh-122931: Allow stable abi3 API extensions to include a multiarch tuple in the filename#152461

Open
stefanor wants to merge 7 commits into
python:mainfrom
stefanor:stable-abi3-multiarch
Open

gh-122931: Allow stable abi3 API extensions to include a multiarch tuple in the filename#152461
stefanor wants to merge 7 commits into
python:mainfrom
stefanor:stable-abi3-multiarch

Conversation

@stefanor

@stefanor stefanor commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

This permits abi3 stable ABI extensions for multiple architectures to be co-installed into the same directory, without clashing with each other, the same way (non-stable ABI) regular extensions can.

It is listed before the current .abi3 suffix because .abi3 extensions are only compatible with future Python releases, not older versions.

This follows on from #122917 which was reduced down to just targetting abi3t

stefanor added 7 commits June 26, 2026 09:12
…ple in the filename

This permits stable ABI extensions for multiple architectures to be
co-installed into the same directory, without clashing with each other,
the same way (non-stable ABI) regular extensions can.

It is listed below the current .abi3 suffix because setuptools will
select the first suffix containing .abi3, as the target filename.
We do this to protect older Python versions predating this patch.
…uple in the filename

This permits `abi3` stable ABI extensions for multiple architectures to be co-installed into the same directory, without clashing with each other, the same way (non-stable ABI) regular extensions can.

It is listed before the current .abi3 suffix because .abi3 extensions are only compatible with future Python releases, not older versions.

This follows on from python#122917 which was reduced down to just targetting `abi3t`
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33340061 | 📁 Comparing 52e251a against main (46d1809)

  🔍 Preview build  

2 files changed
± whatsnew/3.16.html
± whatsnew/changelog.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant